package com.synjones.handsetS8;

/**
 * Created by zhaodianbo on 2017-1-17.
 */
public class BarScanResult {
    public int code=0;
    public byte barBytes[];
    public String barMsg;
    public String recvTimeUse;
    public String totalTimeUse;
    public static final int ERR_OK=0;
    public static final int ERR_NOT_OPEN=-1;
    public static final int ERR_RECV1=-2;
    public static final int ERR_RECV2=-3;
    public static final int ERR_BUSY=-4;
    public static final int ERR_TIMEOUT=-5;
    public static final int ERR_INSTANCE=-10;
    public BarScanResult(int code){
        this.code=code;
    }
    public BarScanResult(int code,String msg){
        this.code=code;
        this.barMsg=msg;
    }

    public String getTotalTimeUse() {
        return totalTimeUse;
    }

    public void setTotalTimeUse(String totalTimeUse) {
        this.totalTimeUse = totalTimeUse;
    }

    public String getRecvTimeUse() {
        return recvTimeUse;
    }

    public void setRecvTimeUse(String recvTimeUse) {
        this.recvTimeUse = recvTimeUse;
    }
}
